﻿using System;

namespace YArchitech.HCLoad.XmlData
{
	public class KeyRoom
	{
		public KeyRoom(KeyRoomTable keyRoomTable)
		{
			this.parent = keyRoomTable;
		}

		public KeyRoomTable Parent
		{
			get
			{
				return this.parent;
			}
			set
			{
				this.parent = value;
			}
		}

		public int ID
		{
			get
			{
				return this.nID;
			}
			set
			{
				this.nID = value;
			}
		}

		public string Name
		{
			get
			{
				return this.sName;
			}
			set
			{
				this.sName = value;
			}
		}

		public int KeyRoomID
		{
			get
			{
				return this.nKeyRoomID;
			}
			set
			{
				this.nKeyRoomID = value;
			}
		}

		private KeyRoomTable parent;

		private int nID;

		private string sName;

		private int nKeyRoomID;
	}
}
